<h4>编辑记录</h4>
<?php
$info = $this->info;
$record = $this->record;
if($info['error'] ==1 )
{ 
?>
<span>提交的信息有误!</span><br/>
<?php }?>
<form class="form-horizontal" action="<?php echo $this->url(array(
                            'controller'=>'index', 
                            'action'=>'editrecord',
                            'id' => $record['id']));?>" method="post">
  <fieldset>
  <div class="control-group">
    <label class="control-label" for="i_count_tag">标签：</label>
    <div class="controls">
        <input type="text" value="<?php echo $record['count_tag'] ?>" id="i_count_tag" name="count_tag" />
    </div>
  </div>
  <div class="control-group">
    <label class="control-label" for="i_count_name">账号：</label>
    <div class="controls">
      <input type="text" value="<?php echo $record['count_name'] ?>" id="i_count_name" name="count_name" />
    </div>
  </div>
  <div class="control-group">
    <label class="control-label" for="i_count_passwd">账号：</label>
    <div class="controls">
      <input type="text" value="<?php echo $record['count_passwd'] ?>" id="i_count_passwd" name="count_passwd" />
    </div>
  </div>
  <div class="control-group">
    <div class="controls">
      <button type="submit" class="btn btn-primary">提 交</button>
      <button type="reset" class="btn btn-primary">重 置</button>
    </div>
  </div>
  </fieldset>
</form>
